swerve off course

Translations
сойти с курса
The plane had to swerve off course to avoid the storm.
Самолету пришлось сойти с курса, чтобы избежать шторма.